x86: Fix lapic timer stop issue in deep C state
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 21 May 2008 09:38:57 +0000 (10:38 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 21 May 2008 09:38:57 +0000 (10:38 +0100)
commitf505be0a58bb0757ed34a11695f905e15395ad97
tree706176cf3542546cc3cf0bf63ec8feb49cdf4f37
parent306921aa6fe884cd988244e8ad4644a1c76d8cea
x86: Fix lapic timer stop issue in deep C state

Local APIC timer may stop at deep C state (C3/C4...) entry/exit. this
patch add the logic that use platform timer (HPET) to reenable local
APIC timer at C state entry/exit.

Signed-off-by: Wei Gang <gang.wei@intel.com>
Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/Makefile
xen/arch/x86/acpi/cpu_idle.c
xen/arch/x86/hpet.c [new file with mode: 0644]
xen/arch/x86/time.c
xen/common/timer.c
xen/include/asm-x86/hpet.h
xen/include/xen/timer.h